/**
 * 全局存放数据
 * 
 * @author yangbin
 * @since 2019-05-06
 */
import Vue from 'vue'

var store = {
    //常量
    Enums: {
    },
    num: 1,
    Codes: {
        OK: 0,
        NetworkCrash: -99999,
        NotLogin: -21,
        ParamError: -12,
    },
    //当前登录用户
    loginedUser: null,
    isPhone: /^1[34578]\d{9}$/,
    
};


Vue.prototype.Store = store;

export default store 